<?php 
if(!defined('ADMIN')){
	exit('Access Denied');
}


?>
<div class="pageContent">
<form action="index.php?mod=<?=MOD?>&act=<?=ACT?>" method="post"  class="pageForm required-validate"  name="form1" onsubmit="return validateCallback(this, dialogAjaxDone);">
<input type="hidden" name="id" value="<?=$row['id']?>" />
<input type="hidden" name="sub" value="save" />
<div class="pageFormContent" layoutH="60">
<p><label>请选择模型：</label>
<?=select($modellist,$row['modelid'],'modelid','')?></p>

<p><label>请上级栏目：</label>
<?=select($catlist,$row['parentid'],'parentid','')?></p>


<p><label>栏目名称：</label>
<input name="catname" type="text" size="20"  id="catname" value="<?=$row['catname']?>" class="required" /></p>
<p><label>英文目录：</label>
<input name="catdir" type="text" size="20"  id="catdir" value="<?=$row['catdir']?>" class="lettersonly required" remote="index.php?mod=<?=MOD?>&act=<?=ACT?>&id=<?=$row['id']?>&do=check"  /></p>
<p><label>栏目图片：</label>
<input name="images" type="text" size="20"  id="images" value="<?=$row['images']?>"  /></p>

<p><label>是否审核：</label>
<?=select($workflowlist,$row['workflowid'],'workflowid','')?></p>

<p><label>显示模式：</label>
<?=html_radio($stylelist,$row['liststyle'],'liststyle','')?></p>


<p><label>页面标题：</label>
<input name="meta_title" type="text" size="50"  id="meta_title" value="<?=$row['meta_title']?>" />&nbsp;<span>META Title</span></p>
<p><label>页面关键词：</label>
<input name="meta_keywords" type="text" size="50"  id="meta_keywords" value="<?=$row['meta_keywords']?>" />&nbsp;<span>META Keywords</span></p>
<p><label>页面描述：</label>
<input name="meta_description" type="text" size="50"  id="meta_description" value="<?=$row['meta_description']?>" />&nbsp;<span>META Description</span></p>
</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
</form>
</div>
